package org.example.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.example.erp.domain.ProcedureDetails;

import java.util.List;

public interface ProcedureDetailsMapper extends BaseMapper<ProcedureDetails> {
    ProcedureDetails findProcess(@Param(value = "procedureCode") String procedureCode,@Param(value = "orderNumber") Integer orderNumber);

    List<ProcedureDetails> taskFindProcess(String productCode);

    ProcedureDetails findEndProcess(String productCode);
}